MC920PATH=../libmc920/
LIBPATH=lib/
INCLUDE=include/
FLAGS=  -O3 -Wall -g
LIBS=-lmc920 -lm

all:	sf.c image.h image.c
	@echo "Building slow fourrier..."
	gcc $(FLAGS) *.c -o sf -I$(MC920PATH)$(INCLUDE) \
		-L$(MC920PATH)$(LIBPATH) $(LIBS)

run: all
	./sf lena_25.pgm

clean: 
	if [ -e sf ]; then rm sf; fi


